package com.rich.house.mapper;

import com.rich.common.entity.TbBroker;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Package: com.rich.house.mapper
 * @Author: 张dy
 * @Date: Created in 2021/8/19 上午 9:05
 */
@Mapper
public interface BrokerMapper {


    /**
     * 查所有
     * @Author: zdy
     * @Date:  下午 2:44
     * @return java.util.List<com.rich.common.entity.TbBroker>
     **/

    List<TbBroker> findAll();

    /**
     * 修改数量
     * @Author: zdy
     * @Date:  下午 2:44
     * @param houseForm
     * @param brokerId
     * @return void
     **/

    void updHouseNum(@Param("houseForm") Integer houseForm,@Param("id") Long brokerId);
}
